package longtime;

public class demo02 {
    //强制类型转换：精度大赋值给精度小，精度丢失
    public static void main(String[] args) {
        int a = (int)10.12;
        double b = (double)10.0123123f;
        float c = (float)10.21231d ;
        System.out.println(a);
        System.out.println(b);
        System.out.println(c);
    }
}
